package com.itheima.mall.api.oms;

import com.itheima.mall.dto.OrderDto;
import com.itheima.mall.pojo.oms.OmsOrder;
import com.itheima.mall.vo.OrderDetailVo;
import com.itheima.mall.vo.PageResult;

import java.util.HashMap;
import java.util.List;

public interface OrderApi {
    void deleteOrderByIds(Integer[] ids);

    PageResult listAll(OrderDto orderDto);

    void updateNote(Integer id, String note, Integer status);

    void updateReceiverInfo(OmsOrder omsOrder);

    void closeOrder(Integer[] ids, String note);

    void deliveryOrder(HashMap deliveryParamList);

    void updateMoneyInfo(HashMap moneyInfoParam);

    OrderDetailVo orderDetail(Integer id);
}
